//
//  PushRequireViewController.m
//  XiJianChui
//
//  Created by aaa on 16/7/18.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import "PushRequireViewController.h"

@interface PushRequireViewController ()
// 发布按钮
@property (nonatomic, strong) UIButton *pushBtn;
@end

@implementation PushRequireViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"发表需求";
    self.view.backgroundColor = QhRandomColor;
    [self createPushBtn];
}
#pragma mark - create UI
- (void)createPushBtn
{
    _pushBtn = [UIButton buttonWithType:UIButtonTypeCustom];
    CGFloat BtnH = 44;
    [_pushBtn setFrame:CGRectMake(0, QhScreenH - BtnH, QhScreenW, BtnH)];
    [_pushBtn addTarget:self action:@selector(pushMessge) forControlEvents:UIControlEventTouchUpInside];
    [_pushBtn setBackgroundColor:QhRandomColor];
    [_pushBtn setTitle:@"发布" forState:UIControlStateNormal];
    [self.view addSubview:_pushBtn];
    self.pushBtn = _pushBtn;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
#pragma mark - Action
/**
 *  发布按钮的点击事件
 */
- (void)pushMessge
{
    QhFunc;
}

@end
